# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
# Maintainer: Henrik Riomar <henrik.riomar@gmail.com>
pkgname=xa
pkgver=2.3.11
pkgrel=0
pkgdesc="cross-assembler and utility suite for 65xx/65816 processors"
url="https://www.floodgap.com/retrotech/xa"
arch="all"
license="GPL-2.0-only"
checkdepends="perl"
subpackages="$pkgname-doc"
source="https://www.floodgap.com/retrotech/xa/dists/xa-$pkgver.tar.gz"

build() {
	make
}

check() {
	make -j1 test
}

package() {
	make DESTDIR="$pkgdir/usr" install
}

sha512sums="2be31b6a67d30e94be616c465591614881028a8bc308202de7561a5719573582b3f29a205a0be76e1f9071621b4882c9aef95cf3494f376e88edc40afa1545dc  xa-2.3.11.tar.gz"
